let mongoose = require('mongoose')

mongoose
    .connect("mongodb+srv://why18641739849:Ma6ng7iOxAPquDM6@shopproduct.okfpl.mongodb.net/")
    .then(()=>{
        console.log('连接成功')
    })
    .catch((err)=>{
        console.log('连接失败',err)
    })

module.exports = mongoose